package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.CustomerReturnList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author qingyu
 * @create 2022-01-03 11:46
 * @description
 */
public interface CustomerReturnListDao {
    /**
     *
     * @param customerReturnList
     */
    void save(CustomerReturnList customerReturnList);

    /**
     * 客户退货单查询（可查询条件：退货单号、客户、退款状态）
     * @param returnNumber
     * @param customerId
     * @param state
     * @return
     */
    List<CustomerReturnList> list(@Param("returnNumber") String returnNumber,@Param("customerId") Integer customerId,@Param("state") Integer state);
}
